package com.bamboo.model.mapper;

import com.bamboo.model.domain.DemoEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
* @description 
* @date 2025/3/7 10:14
* @author chenzh
*/
@Mapper
public interface DemoMapper extends BaseMapper<DemoEntity> {
    /**
     * @description 根据id查询数据，演示结合mapper.xml文件的查询方式
     * @date 2025/3/7 11:35
     * @author chenzh
     * @param id 数据主键id
     * @return DemoEntity
     */
    DemoEntity customFindById(@Param("id") int id);
}
